cmake_minimum_required(VERSION 3.5)
project(mini-engine)
set(CMAKE_CXX_STANDARD 17)
file(GLOB SRC ${PROJECT_SOURCE_DIR}/src/*.cpp)
file(GLOB MAIN_SRC ${PROJECT_SOURCE_DIR}/*.cpp)
set(ALL_SRC ${MAIN_SRC} ${SRC})
include_directories(${PROJECT_SOURCE_DIR}/include ${PROJECT_SOURCE_DIR}/include_glfw)
link_directories(${PROJECT_SOURCE_DIR}/lib_glfw)
find_package(Vulkan REQUIRED)
if(MSVC)
    add_compile_options("/utf-8")
endif()

# add_executable(run ${ALL_SRC})
add_executable(run test/PickTest.cpp)
target_link_libraries(run glfw3 Vulkan::Vulkan)
target_link_options(run PRIVATE "/NODEFAULTLIB:MSVCRT")